package com.flida.echart.basic.system.service.impl;

import com.flida.echart.basic.api.system.entity.BannerPicture;
import com.flida.echart.basic.system.dao.BannerPictureDao;
import com.flida.echart.basic.system.service.IBannerPictureService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("bannerPictureService")
public class BannerPictureServiceImpl implements IBannerPictureService {

    @Autowired
    private BannerPictureDao bannerPictureDao;


    public int deleteByPrimaryKey(String id) {

        return bannerPictureDao.deleteByPrimaryKey(id);
    }


    public int insert(BannerPicture record) {

        return bannerPictureDao.insert(record);
    }


    public int insertSelective(BannerPicture record) {

        return bannerPictureDao.insertSelective(record);
    }


    public BannerPicture selectByPrimaryKey(String id) {

        return bannerPictureDao.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(BannerPicture record) {

        return bannerPictureDao.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(BannerPicture record) {

        return bannerPictureDao.updateByPrimaryKey(record);
    }

}
